Optimal. Leaf size=279 \[ -\frac{\sqrt{c+d x} \left (A b^3-a \left (a^2 D-a b C+b^2 B\right )\right )}{2 b^3 (a+b x)^2 (b c-a d)}-\frac{\sqrt{c+d x} \left (-9 a^3 d D+a^2 b (12 c D+5 C d)-a b^2 (B d+8 c C)+b^3 (4 B c-3 A d)\right )}{4 b^3 (a+b x) (b c-a d)^2}-\frac{\tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x}}{\sqrt{b c-a d}}\right ) \left (-15 a^3 d^2 D+3 a^2 b d (12 c D+C d)-a b^2 \left (-B d^2+24 c^2 D+8 c C d\right )+b^3 \left (3 A d^2-4 B c d+8 c^2 C\right )\right )}{4 b^{7/2} (b c-a d)^{5/2}}+\frac{2 D \sqrt{c+d x}}{b^3 d} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 1.43404, antiderivative size = 279, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 32, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.156 \[ -\frac{\sqrt{c+d x} \left (A b^3-a \left (a^2 D-a b C+b^2 B\right )\right )}{2 b^3 (a+b x)^2 (b c-a d)}-\frac{\sqrt{c+d x} \left (-9 a^3 d D+a^2 b (12 c D+5 C d)-a b^2 (B d+8 c C)+b^3 (4 B c-3 A d)\right )}{4 b^3 (a+b x) (b c-a d)^2}-\frac{\tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x}}{\sqrt{b c-a d}}\right ) \left (-15 a^3 d^2 D+3 a^2 b d (12 c D+C d)-a b^2 \left (-B d^2+24 c^2 D+8 c C d\right )+b^3 \left (3 A d^2-4 B c d+8 c^2 C\right )\right )}{4 b^{7/2} (b c-a d)^{5/2}}+\frac{2 D \sqrt{c+d x}}{b^3 d} \]
Antiderivative was successfully verified.
[In] Int[(A + B*x + C*x^2 + D*x^3)/((a + b*x)^3*Sqrt[c + d*x]),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 148.874, size = 347, normalized size = 1.24 \[ \frac{2 D \sqrt{c + d x}}{b^{3} d} + \frac{3 d \sqrt{c + d x} \left (A b^{3} - B a b^{2} + C a^{2} b - D a^{3}\right )}{4 b^{3} \left (a + b x\right ) \left (a d - b c\right )^{2}} + \frac{\sqrt{c + d x} \left (B b^{2} - 2 C a b + 3 D a^{2}\right )}{b^{3} \left (a + b x\right ) \left (a d - b c\right )} + \frac{\sqrt{c + d x} \left (A b^{3} - B a b^{2} + C a^{2} b - D a^{3}\right )}{2 b^{3} \left (a + b x\right )^{2} \left (a d - b c\right )} + \frac{3 d^{2} \left (A b^{3} - B a b^{2} + C a^{2} b - D a^{3}\right ) \operatorname{atan}{\left (\frac{\sqrt{b} \sqrt{c + d x}}{\sqrt{a d - b c}} \right )}}{4 b^{\frac{7}{2}} \left (a d - b c\right )^{\frac{5}{2}}} + \frac{d \left (B b^{2} - 2 C a b + 3 D a^{2}\right ) \operatorname{atan}{\left (\frac{\sqrt{b} \sqrt{c + d x}}{\sqrt{a d - b c}} \right )}}{b^{\frac{7}{2}} \left (a d - b c\right )^{\frac{3}{2}}} + \frac{2 \left (C b - 3 D a\right ) \operatorname{atan}{\left (\frac{\sqrt{b} \sqrt{c + d x}}{\sqrt{a d - b c}} \right )}}{b^{\frac{7}{2}} \sqrt{a d - b c}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((D*x**3+C*x**2+B*x+A)/(b*x+a)**3/(d*x+c)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 1.61323, size = 253, normalized size = 0.91 \[ \frac{\sqrt{c+d x} \left (\frac{2 \left (a \left (a^2 D-a b C+b^2 B\right )-A b^3\right )}{(a+b x)^2 (b c-a d)}+\frac{9 a^3 d D-a^2 b (12 c D+5 C d)+a b^2 (B d+8 c C)+b^3 (3 A d-4 B c)}{(a+b x) (b c-a d)^2}+\frac{8 D}{d}\right )}{4 b^3}-\frac{\tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x}}{\sqrt{b c-a d}}\right ) \left (-15 a^3 d^2 D+3 a^2 b d (12 c D+C d)+a b^2 \left (B d^2-24 c^2 D-8 c C d\right )+b^3 \left (3 A d^2-4 B c d+8 c^2 C\right )\right )}{4 b^{7/2} (b c-a d)^{5/2}} \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x + C*x^2 + D*x^3)/((a + b*x)^3*Sqrt[c + d*x]),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.033, size = 1207, normalized size = 4.3 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((D*x^3+C*x^2+B*x+A)/(b*x+a)^3/(d*x+c)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((D*x^3 + C*x^2 + B*x + A)/((b*x + a)^3*sqrt(d*x + c)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.243156, size = 1, normalized size = 0. \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((D*x^3 + C*x^2 + B*x + A)/((b*x + a)^3*sqrt(d*x + c)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((D*x**3+C*x**2+B*x+A)/(b*x+a)**3/(d*x+c)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.22322, size = 714, normalized size = 2.56 \[ -\frac{{\left (24 \, D a b^{2} c^{2} - 8 \, C b^{3} c^{2} - 36 \, D a^{2} b c d + 8 \, C a b^{2} c d + 4 \, B b^{3} c d + 15 \, D a^{3} d^{2} - 3 \, C a^{2} b d^{2} - B a b^{2} d^{2} - 3 \, A b^{3} d^{2}\right )} \arctan \left (\frac{\sqrt{d x + c} b}{\sqrt{-b^{2} c + a b d}}\right )}{4 \,{\left (b^{5} c^{2} - 2 \, a b^{4} c d + a^{2} b^{3} d^{2}\right )} \sqrt{-b^{2} c + a b d}} - \frac{12 \,{\left (d x + c\right )}^{\frac{3}{2}} D a^{2} b^{2} c d - 8 \,{\left (d x + c\right )}^{\frac{3}{2}} C a b^{3} c d + 4 \,{\left (d x + c\right )}^{\frac{3}{2}} B b^{4} c d - 12 \, \sqrt{d x + c} D a^{2} b^{2} c^{2} d + 8 \, \sqrt{d x + c} C a b^{3} c^{2} d - 4 \, \sqrt{d x + c} B b^{4} c^{2} d - 9 \,{\left (d x + c\right )}^{\frac{3}{2}} D a^{3} b d^{2} + 5 \,{\left (d x + c\right )}^{\frac{3}{2}} C a^{2} b^{2} d^{2} -{\left (d x + c\right )}^{\frac{3}{2}} B a b^{3} d^{2} - 3 \,{\left (d x + c\right )}^{\frac{3}{2}} A b^{4} d^{2} + 19 \, \sqrt{d x + c} D a^{3} b c d^{2} - 11 \, \sqrt{d x + c} C a^{2} b^{2} c d^{2} + 3 \, \sqrt{d x + c} B a b^{3} c d^{2} + 5 \, \sqrt{d x + c} A b^{4} c d^{2} - 7 \, \sqrt{d x + c} D a^{4} d^{3} + 3 \, \sqrt{d x + c} C a^{3} b d^{3} + \sqrt{d x + c} B a^{2} b^{2} d^{3} - 5 \, \sqrt{d x + c} A a b^{3} d^{3}}{4 \,{\left (b^{5} c^{2} - 2 \, a b^{4} c d + a^{2} b^{3} d^{2}\right )}{\left ({\left (d x + c\right )} b - b c + a d\right )}^{2}} + \frac{2 \, \sqrt{d x + c} D}{b^{3} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((D*x^3 + C*x^2 + B*x + A)/((b*x + a)^3*sqrt(d*x + c)),x, algorithm="giac")
[Out]